package com.epfresh.supplier.entity;

import java.util.List;

/**
 * Created by wzh on 2016/5/12.
 */
public class SoldEntity {

    private String url;
    private String title;

    private String id;


    private List<ProductCity> productCityList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<ProductCity> getProductCityList() {
        return productCityList;
    }

    public void setProductCityList(List<ProductCity> productCityList) {
        this.productCityList = productCityList;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        SoldEntity that = (SoldEntity) o;

        return id != null ? id.equals(that.id) : that.id == null;

    }

    @Override
    public int hashCode() {
        return id != null ? id.hashCode() : 0;
    }
}
